<script lang="ts" setup>
    import {ref} from "vue";
    let slotName=ref("mouth")


</script>

<template>
    <div>hxd</div>
    <slot name="ass"></slot>
    <slot :name="slotName"></slot>
    <button @click="slotName='YC'">隐藏</button>
</template>

<style scoped>

</style>